<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>账单列表</title>
    <script type="application/javascript" src="/static/js/common.js"></script>
</head>
<body>
    <nav class="nav">
        <a class="button button-link left" onclick="history.back();">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-fanhui-"></use>
            </svg>返回
        </a>
        <a class="button button-link right" onclick="history.go(0);">
            <svg class="icon" aria-hidden="true">
                <use xlink:href="#icon-zhuanfa-"></use>
            </svg>刷新
        </a>
        <h1 class="title">账单列表</h1>
    </nav>
    <header class='app-header'>
        <h1 class="app-title">账单列表</h1>
    </header>
    <div class="app-content">
        <div class="weui-cells" th:each="bill : ${billPage.getRecords()}">
            <a class="weui-cell weui-cell_access" th:href="@{/bill/show-detail/{uuid}(uuid=${bill.getUuid()})}">
                <div class="weui-cell__bd">
                    <p th:text="${#dates.format(bill.getCreateTime(), 'yyyy-MM-dd HH:mm:ss')}"></p>
                </div>
                <div class="weui-cell__ft" th:text="${bill.getBillPrice()}"></div>
            </a>
        </div>
    </div>
    <script type="application/javascript">

    </script>

</body>
</html>
